package cn.org.mrliu.ssm.model;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import cn.org.mrliu.ssm.common.model.BaseModel;

public class Department extends BaseModel {
	private Integer id;
	private String name;
	private String remark;
	public Department() {
	
	}
	public Department(Integer id) {
		this.id = id;
	}
	public Department(String name, String remark) {
		this.name = name;
		this.remark = remark;
	}
	public Department(Integer id, String name, String remark) {
		this.id = id;
		this.name = name;
		this.remark = remark;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}
